package org.ghost.hbase.model;

import java.io.Serializable;

public class HbasePutDTO extends BaseHbasePutsDTO implements Serializable {
    protected String col;
    protected String value;

    public HbasePutDTO() {
    }

    public HbasePutDTO(String rowKey, String family, String col, String value) {
        this.rowKey = rowKey;
        this.family = family;
        this.col = col;
        this.value = value;
    }

    public String getCol() {
        return col;
    }

    public void setCol(String col) {
        this.col = col;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "HbasePutDTO{" +
                "col='" + col + '\'' +
                ", value='" + value + '\'' +
                ", rowKey='" + rowKey + '\'' +
                ", family='" + family + '\'' +
                '}';
    }
}